package com.turing.post.cardmanagement.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 临时领卡\缴回单 业务接口
 * 
 * @author kangzhe
 * 
 */
@Remote
@Local
public interface SalesGetCardOrderBusiness {

	/**
	 * 新增临时领卡\缴回单
	 * 
	 * @param input
	 * @param sgco
	 * @return
	 * @throws PCPSApplicationException
	 */
	public BigInteger addSalesGetCardOrder(PCPSWebInput input,
			SalesGetCardOrder sgco, List<SalesGetCardOrderDetail> detialList)
			throws PCPSApplicationException;

	/**
	 * 修改临时领卡\缴回单
	 * 
	 * @param input
	 * @param sgco
	 * @throws PCPSApplicationException
	 */
	public void updateSalesGetCardOrder(PCPSWebInput input,
			SalesGetCardOrder sgco) throws PCPSApplicationException;
}
